#!/bin/sh

# movies
hadoop fs -mkdir -p /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_movies/20240629/
hadoop fs -put ./data/movies.csv /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_movies/20240629/
hadoop fs -touch /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_movies/20240629/_SUCCESS

# links
hadoop fs -mkdir -p /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_links/20240629/
hadoop fs -put ./data/links.csv /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_links/20240629/
hadoop fs -touch /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_links/20240629/_SUCCESS


# ratings
hadoop fs -mkdir -p /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_ratings/20240629/
hadoop fs -put ./data/ratings.csv /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_ratings/20240629/
hadoop fs -touch /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_ratings/20240629/_SUCCESS


# tags
hadoop fs -mkdir -p /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_tags/20240629/
hadoop fs -put ./data/tags.csv /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_tags/20240629/
hadoop fs -touch /home/hdp_idea/rawdata/hism/movielens/raw_hism_movielens_tags/20240629/_SUCCESS
